package cn.edu.cqie.maven_onlinexem.dao;

import cn.edu.cqie.maven_onlinexem.bean.Student;
import org.apache.ibatis.annotations.Select;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

public interface studentDao {
    public List<Student> findStudent(Student student);
    @Select("select Student_name from Student_name")
    public List<Student> findAllStudent(Student student);
    public void insertStudent(Student student);
    @Select("select Student_name from student where Student_name=#{Student_name}")
    public List<Student> isFindStudent(Student student);
    //@Select("delete from student where Student_name=#{Student_name}")
    public boolean deleteStudent (Student student);
    public boolean updateStudent (Student student);

}
